import { ref } from 'vue'
import request from '@/utils/request.js'

export const courseList = () => {
   //  return request.get('/course/getList')
   return request.get('/course/getCourseList')
}
export const courseNameList = (courseName) => {
   return request.get('/course/selectCourceListByName/' + courseName)
}
//  export const courseIdList =(directionId)=>{
//     return request.get('/course/selectListDirectionId/'+directionId)
//  } 
export const directionList = () => {
   return request.get('/direction/select')
} 